<!doctype html>
<html lang="en">
<head>
<?=set_base();?>
<meta charset="UTF-8">
<title>Dashboard - Admin Template</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/content1.css" />
</head>
<body>
<script src="/static/js/jquery-1.11.1.js"></script> 
<script src="/static/js/plugin/box/box.js"></script> 
<script src="js/global.js"></script> 
<script>$(function(){global_obj.tableLine()})</script>
<div id="wrapper">
    <div id="content">
        <div id="box">
            <h3>网站日志</h3>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <thead>
                    <tr>
                        <th width="5%">序号</th>
                        <th width="10%">操作人</th>
                        <th width="10%">页面</th>
                        <th width="20%">IP</th>
                        <th width="20%">动作</th>
                        <th width="20%">数据源</th>
                        <th width="20%">操作时间</th>
                    </tr>
                </thead>
                <tbody>
                    <?php foreach($query->result_array() as $k=>$v){?>
                    <tr>
                        <td height="23" align="center"><?=$k+1?></td>
                        <td height="23" align="center"><?=$v['ManageName']?></td>
                        <td height="23" align="center"><?=$v['Pages']?></td>
                        <td height="23" align="center"><?=$v['Ip']?></td>
                        <td height="23" align="center"><?=$v['Log']?></td>
                        <td height="23" align="center"><?=$v['Source']?></td>
                        <td height="23" align="center"><?=date('Y-m-d H:i:s',$v['OpTime'])?></td>
                    </tr>
                    <?php }?>
                </tbody>
            </table>
            <div id="pager"><?=$turn_page;?></div>
        </div>
    </div>
</div>
</body>
</html>
